<template>
	<div>
		<view>{{address}}</view>
		<button type="default" @click="handleClick">点击</button>
	</div>
</template>

<script>
	export default {
		data(){
			return{
				address:"北京"
			}
		},
		methods:{
			handleClick(){
				// console.log("我被点击了")
				this.address="上海"
			}
		}
		
		
	}
</script>

<style scoped>

</style>